package com.atguigu.repsitory;

import com.atguigu.model.Product;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

/**
 * 项目启动会自动扫描实体类，根据实体类上属性生成索引库及映射
 */
public interface ProductRepository extends ElasticsearchRepository<Product, String> {

    //获取到操作索引库Product索引库方法

}
